package com.nidu.demo.notice.dto;

import com.nidu.demo.base.BaseTenantCO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 通知公告客户端对象
 *
 * @author auto
 */
@Data
@Schema(description = "通知公告客户端对象")
@EqualsAndHashCode(callSuper = true)
public class NoticeCO extends BaseTenantCO {

    @Schema(description = "主键ID", example = "1")
    private Long id;

    @Schema(description = "公告标题", example = "系统维护公告")
    private String title;

    @Schema(description = "公告内容", example = "系统将于今晚进行维护")
    private String content;

    @Schema(description = "公告类型（1通知 2公告）", example = "1")
    private Integer type;

    @Schema(description = "公告状态（0正常 1关闭）", example = "0")
    private Integer status;

}
